package com.kong.dao.entity;

import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import org.seed.mybatis.core.annotation.PrimaryKey;
import org.seed.mybatis.core.annotation.KeyStrategy;
import org.seed.mybatis.core.annotation.Table;
import lombok.Data;


/**
 * Table: java_template
 * Comment: Java文件模版
 *
 * @author glin
 * @date 2024-04-16
 */
@Table(name = "java_template", key = @PrimaryKey(name = "id", strategy = KeyStrategy.NONE))
@Data
@Schema(title = "Java文件模版")
public class JavaTemplate {

    /** 主键 **/
    @Schema(title = "主键")
    private String id;

    /** 模版名称 **/
    @Schema(title = "模版名称")
    private String name;

    /** 文件路径相对于根包 **/
    @Schema(title = "文件路径相对于根包")
    private String relativePath;

    /** 文件名 **/
    @Schema(title = "文件名")
    private String fileName;

    /** 模版内容 **/
    @Schema(title = "模版内容")
    private String content;

    /** 创建或更新时间 **/
    @Schema(title = "创建或更新时间")
    private Date updatedAt;

    /** 所属模版分组 **/
    @Schema(title = "所属模版分组")
    private String groupBelong;


}